package indi.zhifa.study2024.class002.busy.generalTest.enums.bill.consign;

import com.baomidou.mybatisplus.annotation.EnumValue;
import indi.zhifa.study2024.core.enummemo.entity.ann.EnumDesc;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
@EnumDesc(name = "销售单报表分组",desc = "销售单报表分组")
public enum EBillReportGroup {

    ITEM(1,"商品分组","按商品分组"),
    SALES(2,"业务员分组","按业务员分组"),
    MAIN_TYPE(3,"大商品类型分组","按大商品类型分组"),
    SEGMENT_TYPE(4,"小商品类型分组","按小商品类型分组"),
    BRAND_TYPE(5,"品牌分组","按商品品牌分组");

    @EnumValue
    @Getter
    private final int code;
    @Getter
    private final String name;
    @Getter
    private final String desc;
}
